﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoUpdater
{
    public class UpdateInfo
    {
        public UpdateInfo()
        {
        }

        public UpdateInfo(string filename, VersionType versionType, string version, bool isStartUp)
        {
            FileName = filename;
            VersionType = versionType;
            Version = version;
            IsStartUp = isStartUp;
        }

        public string FileName { get; set; }
        public VersionType VersionType { get; set; }
        public string Version { get; set; }
        public bool IsStartUp { get; set; }
    }

    public enum VersionType
    {
        FileVersion,
        MD5
    }
}
